package com.artPreter.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;


import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 楼层表
 * </p>
 *
 * @author Jarvis_He
 * @since 2024-04-18
 */
@Getter
@Setter
@TableName("jv_floor")
public class Floor implements Serializable {

    private static final long serialVersionUID = 1L;

    //ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //楼层名称")
    @TableField("floor_name")
    private String floorName;

    //随机id")
    @TableField("uuid")
    private String uuid;

    //创建人ID")
    @TableField("create_user")
    private Integer createUser;

    //创建时间")
    @TableField("create_time")
    private Integer createTime;

    //修改时间")
    @TableField("update_time")
    private Integer updateTime;

    //排序")
    @TableField("sort")
    private Integer sort;

    //1:启用")
    @TableField("status")
    private Integer status;

    //地点uuid")
    @TableField("position")
    private String position;

    //面积
    @TableField("area")
    private Integer area;

    @TableField("loc_h")
    private Double loc_h;

    @TableField("loc_w")
    private Double loc_w;

    // 平面图1
    @TableField("map1")
    private String map1;

    // 平面图2
    @TableField("map2")
    private String map2;

    public void setLocH(Double locH) {
        this.loc_h = locH;
    }

    public void setLocW(Double locW) {
        this.loc_w = locW;
    }

    //平面图
//    @TableField("file")
//    private String file;

}
